﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucChiTiet.ascx.cs" Inherits="QuocTeViet.AdminCP.PageUC.ucChiTiet" %>
<div style="margin-left: 10px; margin-right: 10px">
    <asp:GridView ID="GrChiTiet" runat="server" Width="100%" BackColor="White" BorderStyle="None"
        CellPadding="3" AllowPaging="True" DataKeyNames="GioHangID" Font-Names="Times New Roman"
        Font-Size="Medium" AutoGenerateColumns="False" EnableViewState="False" HorizontalAlign="Center"
        PageSize="20" BorderColor="#CCCCCC" BorderWidth="1px" >
        <RowStyle BorderColor="#2d2d2d" ForeColor="#000066" />
        <Columns>
            <asp:TemplateField HeaderText="Chọn">
                <ItemStyle HorizontalAlign="Center" Width="20px" />
                <ItemTemplate>
                    <asp:CheckBox ID="CheckDelete" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="GioHangID" HeaderText="ID" ItemStyle-Width="25px" SortExpression="DonHangID">
                <ItemStyle Width="25px"></ItemStyle>
            </asp:BoundField>
            <asp:TemplateField HeaderText="Tên sản phẩm">
                <ItemTemplate>
                    <asp:Label Style="margin-left: 2px;" ID="lblngaydathang" runat="server" Text='<%# Eval("TenSanPham") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Số Lượng">
                <ItemTemplate>
                    <asp:Label Style="margin-left: 2px;" ID="lblngaydathang" runat="server" Text='<%# Eval("SoLuong") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Đơn Giá">
                <ItemTemplate>
                    <asp:Label Style="margin-left: 2px;" ID="lblngaydathang" runat="server" Text='<%# Eval("DonGia") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            
            <asp:TemplateField HeaderText="Ngày đặt hàng">
                <ItemTemplate>
                    <asp:Label Style="margin-left: 2px;" ID="lblngaydathang" runat="server" Text='<%# Eval("NgayDatHang") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Ngày giao hàng">
                <ItemTemplate>
                    <asp:Label Style="margin-left: 2px;" ID="lblngaygiaohang" runat="server" Text='<%# Eval("NgayGiaoHang") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Thành Tiền">
                <ItemTemplate>
                    <asp:Label Style="margin-left: 2px;" ID="lblngaygiaohang1" runat="server" Text='<%# Eval("ThanhTien") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#6699FF" Height="25px" Font-Bold="True" ForeColor="White" />
        <FooterStyle BackColor="White" ForeColor="#000066" />
        <PagerStyle HorizontalAlign="Left" BackColor="White" ForeColor="#000066" />
        <RowStyle HorizontalAlign="Center" ForeColor="#000066" />
    </asp:GridView>
</div>